projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f115a89
)
pull: Exit mainloop immediately if we encounter an error
author
Colin Walters
<walters@verbum.org>
Wed, 22 Aug 2012 23:43:10 +0000
(19:43 -0400)
committer
Colin Walters
<walters@verbum.org>
Wed, 22 Aug 2012 23:45:00 +0000
(19:45 -0400)
Otherwise we'll just hang.
src/ostree/ostree-pull.c
patch
|
blob
|
history
diff --git
a/src/ostree/ostree-pull.c
b/src/ostree/ostree-pull.c
index fa5d55c564aa3fd180e495dc8baef689c11248da..a666b4d082e54d86995d6d2b12f7505a17c89293 100644
(file)
--- a/
src/ostree/ostree-pull.c
+++ b/
src/ostree/ostree-pull.c
@@
-201,6
+201,7
@@
check_outstanding_requests_handle_error (OtPullData *pull_data,
{
pull_data->caught_error = TRUE;
g_propagate_error (pull_data->async_error, error);
+ g_main_loop_quit (pull_data->loop);
}
else
{